package com.aoyy.model;

import java.util.Date;
/**=================================================================================
 * PO class <code>Post</code>
 * @author this author
 * @date 2017-08-05
 * ================================================================================== */
public class Post extends SerializableImpl {
	private static final long serialVersionUID = 1229022919151232947L;
	private Integer postId;
	private String title;
	private String content;
	private Date createTime;
	private Topic topic;
	private User user;
	
	public void setPostId(Integer postId) {
		this.postId = postId;
	}
	
	public Integer getPostId() {
		return postId;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setContent(String content) {
		this.content = content;
	}
	
	public String getContent() {
		return content;
	}
	
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Date getCreateTime() {
		return createTime;
	}
	
	public void setTopic(Topic topic) {
		this.topic = topic;
	}
	
	public Topic getTopic() {
		return topic;
	}
	
	public void setUser(User user) {
		this.user = user;
	}
	
	public User getUser() {
		return user;
	}

}
